package com.dzsw.zk.seq;

import java.util.Arrays;

public class SortMain {

    public static void main(String[] args) {
        int[] ints = new int[]{ 256, 257, 259, 258, 263, 262, 261, 260, 268, 267, 266, 265, 278, 277, 276, 275, 273, 272, 271, 270, 269, 299, 298, 297, 296, 295, 293, 292, 291, 290, 289, 288, 287, 286, 285, 283, 282, 281, 280, 279, 320, 319, 318, 317, 316, 315, 313, 312, 311
                , 310, 309, 308, 307, 306, 305, 303, 302, 301, 300, 351, 350, 339, 338, 337, 336, 335, 333, 332, 331, 330, 329, 328, 327, 326, 325, 323, 322, 321, 372, 371, 370, 369, 368, 367, 366, 365, 363, 362, 361, 360, 359, 358, 357, 356, 355, 353, 352, 393, 392, 391, 390
                , 389, 388, 387, 386, 385, 383, 382, 381, 380, 379, 378, 377, 376, 375, 373, 515, 513, 512, 511, 510, 509, 508, 507, 506, 505, 503, 502, 501, 500, 399, 398, 397, 396, 395, 536, 535, 533, 532, 531, 530, 529, 528, 527, 526, 525, 523, 522, 521, 520, 519, 518, 517
                , 516, 567, 566, 565, 563, 562, 561, 560, 559, 558, 557, 556, 555, 553, 552, 551, 550, 539, 538, 537, 588, 587, 586, 585, 583, 582, 581, 580, 579, 578, 577, 576, 575, 573, 572, 571, 570, 569, 568, 608, 607, 606, 605, 603, 602, 601, 600, 599, 598, 597, 596, 595
                , 593, 592, 591, 590, 589, 629, 628, 627, 626, 625, 623, 622, 621, 620, 619, 618, 617, 616, 615, 613, 612, 611, 610, 609, 659, 658, 657, 656, 655, 653, 652, 651, 650, 639, 638, 637, 636, 635, 633, 632, 631, 630, 680, 679, 678, 677, 676, 675, 673, 672, 671, 670, 669, 668, 667, 666, 665, 663, 662, 661, 660, 701, 700, 699, 698, 697, 696, 695, 693, 692, 691, 690, 689, 688, 687, 686, 685, 683, 682, 681, 722, 723, 721, 720, 725, 719, 718, 717, 716, 715, 713, 712, 711, 710, 709, 708, 707, 706, 705, 703, 702, 756, 755, 753, 752, 751, 750, 739, 738, 737, 736, 735, 733, 732, 731, 730, 729, 728, 727, 726, 777, 776, 775, 773, 772, 771, 770, 769, 768, 767, 766, 765, 763, 762, 761, 760, 759, 758, 757, 798, 797, 796, 795, 793, 792, 791, 790, 789, 788, 787, 786, 785, 783, 782, 781, 780, 779, 778, 819, 818, 817, 816, 815, 813, 812, 811, 810, 809, 808, 807, 806, 805, 803, 802, 801, 800, 799, 850, 839, 838, 837, 836, 835, 833, 832, 831, 830, 829, 828, 827, 826, 825, 823, 822, 821, 820, 871, 870, 869, 868, 867, 866, 865, 863, 862, 861, 860, 859, 858, 857, 856, 855, 853, 852, 851, 892, 891, 890, 889, 888, 887, 886, 885, 883, 882, 881, 880, 879, 878, 877, 876, 875, 873, 872, 913, 912, 911, 910, 909, 908, 907, 906, 905, 903, 902, 901, 900, 899, 898, 897, 896, 895, 893, 935, 933, 932, 931, 930, 929, 928, 927, 926, 925, 923, 922, 921, 920, 919, 918, 917, 916, 915, 966, 965, 963, 962, 961, 960, 959, 958, 957, 956, 955, 953, 952, 951, 950, 939, 938, 937, 936, 987, 986, 985, 983, 982, 981, 980, 979, 978, 977, 976, 975, 973, 972, 971, 970, 969, 968, 967, 1008, 1007, 1006, 1005, 1003, 1002, 1001, 1000, 999, 998, 997, 996, 995, 993, 992, 991, 990, 989, 988, 1029, 1028, 1027, 1026, 1025, 1023, 1022, 1021, 1020, 1019, 1018, 1017, 1016, 1015, 1013, 1012, 1011, 1010, 1009, 1060, 1059, 1058, 1057, 1056, 1055, 1053, 1052, 1051, 1050, 1039, 1038, 1037, 1036, 1035, 1033, 1032, 1031, 1030, 1081, 1080, 1079, 1078, 1077, 1076, 1075, 1073, 1072, 1071, 1070, 1069, 1068, 1067, 1066, 1065, 1063, 1062, 1061, 1102, 1101, 1100, 1099, 1098, 1097, 1096, 1095, 1093, 1092, 1091, 1090, 1089, 1088, 1087, 1086, 1085, 1083, 1082, 1123, 1122, 1121, 1120, 1119, 1118, 1117, 1116, 1115, 1113, 1112, 1111, 1110, 1109, 1108, 1107, 1106, 1105, 1103, 1155, 1153, 1152, 1151, 1150, 1139, 1138, 1137, 1136, 1135, 1133, 1132, 1131, 1130, 1129, 1128, 1127, 1126, 1125, 1176, 1175, 1173, 1172, 1171, 1170, 1169, 1168, 1167, 1166, 1165, 1163, 1162, 1161, 1160, 1159, 1158, 1157, 1156, 1197, 1196, 1195, 1193, 1192, 1191, 1190, 1189, 1188, 1187, 1186, 1185, 1183, 1182, 1181, 1180, 1179, 1178, 1177, 1217, 1216, 1215, 1213, 1212, 1211, 1210, 1209, 1208, 1207, 1206, 1205, 1203, 1202, 1201, 1200, 1199, 1198, 1238, 1237, 1236, 1235, 1233, 1232, 1231, 1230, 1229, 1228, 1227, 1226, 1225, 1223, 1222, 1221, 1220, 1219, 1218, 1269, 1268, 1267, 1266, 1265, 1263, 1262, 1261, 1260, 1259, 1258, 1257, 1256, 1255, 1253, 1252, 1251, 1250, 1239, 1290, 1289, 1288, 1287, 1286, 1285, 1283, 1282, 1281, 1280, 1279, 1278, 1277, 1276, 1275, 1273, 1272, 1271, 1270, 1311, 1310, 1309, 1308, 1307, 1306, 1305, 1303, 1302, 1301, 1300, 1299, 1298, 1297, 1296, 1295, 1293, 1292, 1291, 1332, 1331, 1330, 1329, 1328, 1327, 1326, 1325, 1323, 1322, 1321, 1320, 1319, 1318, 1317, 1316, 1315, 1313, 1312, 1363, 1362, 1361, 1360, 1359, 1358, 1357, 1356, 1355, 1353, 1352, 1351, 1350, 1339, 1338, 1337, 1336, 1335, 1333, 1385, 1383, 1382, 1381, 1380, 1379, 1378, 1377, 1376, 1375, 1373, 1372, 1371, 1370, 1369, 1368, 1367, 1366, 1365, 1506, 1505, 1503, 1502, 1501, 1500, 1399, 1398, 1397, 1396, 1395, 1393, 1392, 1391, 1390, 1389, 1388, 1387, 1386, 1527, 1526, 1525, 1523, 1522, 1521, 1520, 1519, 1518, 1517, 1516, 1515, 1513, 1512, 1511, 1510, 1509, 1508, 1507, 1557, 1556, 1555, 1553, 1552, 1551, 1550, 1539, 1538, 1537, 1536
                , 1535, 1533, 1532, 1531, 1530, 1529, 1528, 1576, 1575, 1573, 1572, 1571, 1570, 1569, 1568, 1567, 1566, 1565, 1563, 1562, 1561, 1560, 1559, 1558, 1596, 1595, 1593, 1592, 1591, 1590, 1589, 1588, 1587, 1606, 1586, 1585, 1583, 1582, 1609, 1581, 1580, 1579, 1578, 1577, 1612, 1611, 1610, 1608, 1607, 1605, 1603, 1602, 1601, 1600, 1599, 1598, 1597, 1627, 1626, 1625, 1623, 1622, 1621, 1620, 1619, 1618, 1617, 1616, 1615, 1613, 1656, 1655, 1653, 1652, 1651, 1650, 1639, 1638, 1637, 1636, 1635, 1633, 1632, 1631, 1630, 1629, 1628, 1676, 1675, 1673, 1672, 1671, 1670, 1669, 1668, 1667, 1666, 1665, 1663, 1662, 1661, 1660, 1659, 1658, 1657, 1696, 1695, 1693, 1692, 1691, 1690, 1689, 1688, 1687, 1686, 1685, 1683, 1682, 1681, 1680, 1679, 1678, 1677, 1716, 1715, 1713, 1712, 1711, 1710, 1709, 1708, 1707, 1706, 1705, 1703, 1702, 1701, 1700, 1699, 1698, 1697, 1732, 1731, 1730, 1729, 1728, 1727, 1726, 1725, 1723, 1735, 1722, 1721, 1720, 1719, 1718, 1717, 1738, 1737, 1736, 1733, 1752, 1751, 1750, 1739, 1757, 1756, 1755, 1753, 1761, 1760, 1759, 1758, 1766, 1765, 1763, 1762, 1772, 1771, 1770, 1769, 1768, 1767, 1782, 1781, 1780, 1779, 1778, 1777, 1776, 1775, 1773, 1798, 1797, 1796, 1795, 1793, 1792, 1791, 1790, 1789, 1788, 1787, 1786, 1785, 1783, 1818, 1817, 1816, 1815, 1813, 1812, 1811, 1810, 1809, 1808, 1807, 1806, 1805, 1803, 1802, 1801, 1800, 1799, 1838, 1837, 1836, 1835, 1833, 1832, 1831, 1830, 1829, 1828, 1827, 1826, 1825, 1823, 1822, 1821, 1820, 1819, 1863, 1862, 1861, 1860, 1865, 1859, 1858, 1857, 1856, 1855, 1853, 1852, 1851, 1850, 1839, 1870, 1869, 1868, 1867, 1866, 1871, 1872, 1873, 1875, 1877, 1876, 1880, 1879, 1878, 1883, 1882, 1881, 1886, 1885, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1895, 1896, 1897, 1898, 1899, 1901, 1900, 1903, 1902, 1906, 1905, 1908, 1907, 1910, 1909, 1915, 1913, 1912, 1911, 1919, 1918, 1917, 1916, 1925, 1926, 1923, 1922, 1921, 1920, 1928, 1927, 1929, 1930, 1931, 1932, 1933, 1935, 1936, 1937, 1938, 1939, 1950, 1951, 1952, 1953, 1955, 1956, 1957, 1958, 1959, 1960, 1962, 1961, 1965, 1963, 1967, 1966, 1971, 1970, 1969, 1968, 1977, 1976, 1975, 1973, 1972, 1985, 1983, 1982, 1981, 1980, 1979, 1978, 1993, 1992, 1991, 1990, 1989, 1988, 1987, 1986, 2006, 2005, 2003, 2002, 2001, 2000, 1999, 1998, 1997, 1996, 1995, 2023, 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2053, 2052, 2051, 2050, 2039, 2038, 2037, 2036, 2035, 2033, 2032, 2031, 2030, 2029, 2028, 2027, 2026, 2025, 2075, 2073, 2072, 2071, 2070, 2069, 2068, 2067, 2066, 2065, 2063, 2062, 2061, 2060, 2059, 2058, 2057, 2056, 2055, 2095, 2093, 2092, 2091, 2090, 2089, 2088, 2087, 2086, 2085, 2083, 2082, 2081, 2080, 2079, 2078, 2077, 2076, 2115, 2113, 2112, 2111, 2110, 2109, 2108, 2107, 2106, 2105, 2103, 2102, 2101, 2100, 2099, 2098, 2097, 2096, 2133, 2132, 2131, 2130, 2129, 2128, 2127, 2126, 2125, 2123, 2122, 2121, 2120, 2119, 2118, 2117, 2116, 2163, 2162, 2161, 2160, 2159, 2158, 2157, 2156, 2155, 2153, 2152, 2151, 2150, 2139, 2138, 2137, 2136, 2135, 2183, 2182, 2181, 2180, 2179, 2178, 2177, 2176, 2175, 2173, 2172, 2171, 2170, 2169, 2168, 2167, 2166, 2165, 2205, 2203, 2202, 2201, 2200, 2199, 2198, 2197, 2196, 2195, 2193, 2192, 2191, 2190, 2189, 2188, 2187, 2186, 2185, 2226, 2225, 2223, 2222, 2221, 2220, 2219, 2218, 2217, 2216, 2215, 2213, 2212, 2211, 2210, 2209, 2208, 2207, 2206, 2256, 2255, 2253, 2252, 2251, 2250, 2239, 2238, 2237, 2236, 2235, 2233, 2232, 2231, 2230, 2229, 2228, 2227, 2276, 2275, 2273, 2272, 2271, 2270, 2269, 2268, 2267, 2266, 2265, 2263, 2262, 2261, 2260, 2259, 2258, 2257, 2296, 2295, 2293, 2292, 2291, 2290, 2289, 2288, 2287, 2286, 2285, 2283, 2282, 2281, 2280, 2279, 2278, 2277, 2316, 2315, 2313, 2312, 2311, 2310, 2309, 2308, 2307, 2306, 2305, 2303, 2302, 2301, 2300, 2299, 2298, 2297, 2336, 2335, 2333, 2332, 2331, 2330, 2329, 2328, 2327, 2326, 2325, 2323, 2322, 2321, 2320, 2319, 2363, 2318, 2317, 2368, 2367, 2366, 2365, 2362, 2361, 2360, 2359, 2358, 2357, 2356, 2355, 2353, 2352, 2351, 2350, 2339, 2338, 2337, 2388, 2387, 2386, 2385, 2383, 2382, 2381, 2380, 2379, 2378, 2377, 2376, 2375, 2373, 2372, 2371, 2370, 2369, 2508, 2507, 2506, 2510, 2505, 2503, 2502, 2501, 2500, 2399, 2398, 2397, 2396, 2395, 2393, 2392, 2391, 2390, 2389, 2529, 2528, 2527, 2526, 2525, 2523, 2522, 2521, 2520, 2519, 2518, 2517, 2516, 2515, 2513, 2512, 2511, 2509, 2556, 2555, 2553, 2552, 2551, 2550, 2539, 2538, 2537, 2536, 2535, 2533, 2532, 2531, 2530, 2576, 2575, 2573, 2572, 2571, 2570, 2569, 2568, 2567, 2566, 2565, 2563, 2562, 2561, 2560, 2559, 2558, 2557, 2596, 2595, 2593, 2592, 2591, 2590, 2589, 2588, 2587, 2586, 2585, 2583, 2582, 2581, 2580, 2579, 2578, 2577, 2616, 2615, 2613, 2612, 2611, 2610, 2609, 2608, 2607, 2606, 2605, 2603, 2602, 2601, 2600, 2599, 2598, 2597, 2636, 2635, 2633, 2632, 2631, 2630, 2629, 2628, 2627, 2626, 2625, 2623, 2622, 2621, 2620, 2619, 2618, 2617, 2666, 2665, 2663, 2662, 2661, 2660, 2659, 2658, 2657, 2656, 2655, 2653, 2652, 2651, 2650, 2639, 2638, 2637, 2687, 2686, 2685, 2683, 2682, 2681, 2680, 2679, 2678, 2677, 2676, 2675, 2673, 2672, 2671, 2670, 2669, 2668, 2667, 2707, 2706, 2705, 2703, 2702, 2701, 2700, 2699, 2698, 2697, 2696, 2695, 2693, 2692, 2691, 2690, 2689, 2688, 2727, 2726, 2725, 2723, 2722, 2721, 2720, 2719, 2718, 2717, 2716, 2715, 2713, 2712, 2711, 2710, 2709, 2708, 2757, 2756, 2755, 2753, 2752, 2751, 2750, 2739, 2738, 2737, 2736, 2735, 2733, 2732, 2731, 2730, 2729, 2728, 2777, 2776, 2775, 2773, 2772, 2771, 2770, 2769, 2768, 2767, 2766, 2765, 2763, 2762, 2761, 2760, 2759, 2758, 2797, 2796, 2795, 2793, 2792, 2791, 2790, 2789, 2788, 2787, 2786, 2785, 2783, 2782, 2781, 2780, 2779, 2778, 2817, 2816, 2815, 2813, 2812, 2811, 2810, 2809, 2808, 2807, 2806, 2805, 2803, 2802, 2801, 2800, 2799, 2798, 2837, 2836, 2835, 2833, 2832, 2831, 2830, 2829, 2828, 2827, 2826, 2825, 2823, 2822, 2821, 2820, 2819, 2818, 2863, 2862, 2861, 2860, 2859, 2858, 2857, 2856, 2855, 2853, 2852, 2851, 2850, 2839, 2838, 2873, 2872, 2871, 2870, 2869, 2868, 2867, 2866, 2865, 2878, 2877, 2876, 2875, 2880, 2879, 2882, 2881, 2883, 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893, 2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2905, 2906, 2907, 2908, 2910, 2909, 2911, 2912, 2913, 2915, 2916, 2917, 2919, 2918, 2920, 2921, 2922, 2923, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2935, 2936, 2937, 2938, 2939, 2950, 2951, 2952, 2953, 2955, 2956, 2957, 2958, 2959, 2960, 2962, 2961, 2963, 2965, 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2975, 2976, 2977, 2978, 2979, 2981, 2980, 2985, 2983, 2982, 2989, 2988, 2987, 2986, 2995, 2993, 2992, 2991, 2990, 2999, 2998, 2997, 2996, 3003, 3005, 3002, 3001, 3000, 3007, 3006, 3008, 3009, 3010, 3011, 3012, 3013, 3015, 3016, 3018, 3017, 3020, 3019, 3023, 3022, 3021, 3028, 3027, 3026, 3025, 3029, 3030, 3032, 3031, 3035, 3033, 3036, 3037, 3039, 3038, 3051, 3050, 3053, 3052, 3055, 3056, 3057, 3058, 3059, 3060, 3061, 3063, 3062, 3066, 3065, 3069, 3068, 3067, 3072, 3071, 3070, 3076, 3075, 3073, 3079, 3078, 3077, 3082, 3081, 3080, 3086, 3085, 3083, 3089, 3088, 3087, 3090, 3091, 3092, 3093, 3096, 3095, 3098, 3097, 3100, 3099, 3101, 3103, 3102, 3106, 3105, 3108, 3107, 3109, 3110, 3111, 3113, 3112, 3117, 3116, 3115, 3120, 3119, 3118, 3125, 3123, 3122, 3121, 3127, 3126, 3129, 3128, 3130, 3131, 3132, 3133, 3135, 3136, 3137, 3138, 3139, 3150, 3151, 3152, 3153, 3155, 3156, 3157, 3158, 3159, 3160, 3163, 3162, 3161, 3166, 3165, 3168, 3167, 3169, 3170, 3171, 3172, 3173, 3175, 3177, 3176, 3179, 3178, 3181, 3180, 3183, 3182, 3185, 3186, 3187, 3188, 3189, 3190, 3192, 3191, 3193, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3216, 3215, 3218, 3217, 3220, 3219, 3221, 3222, 3225, 3223, 3226, 3227, 3228, 3229, 3230, 3232, 3231, 3235, 3233, 3237, 3236, 3239, 3238, 3250, 3251, 3252, 3253, 3255, 3256, 3257, 3258, 3259, 3261, 3260, 3263, 3262, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3285, 3286, 3287, 3289, 3288, 3290, 3291, 3293, 3292, 3296, 3295, 3299, 3298, 3297, 3302, 3301, 3300, 3306, 3305, 3303, 3309, 3308, 3307, 3312, 3311, 3310, 3317, 3316, 3315, 3313, 3318, 3319, 3320, 3321, 3322, 3323, 3325, 3327, 3326, 3329, 3328, 3331, 3330, 3333, 3332, 3335, 3336, 3337, 3338, 3350, 3339, 3352, 3351, 3353, 3355, 3356, 3357, 3358, 3359, 3360, 3361, 3362, 3363, 3365, 3366, 3367, 3368, 3369, 3370, 3371, 3372, 3373, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382, 3383, 3385, 3386, 3387, 3388, 3389, 3390, 3391, 3392, 3393, 3395, 3396, 3397, 3398, 3399, 3500, 3501, 3502, 3505, 3506, 3503, 3507, 3508, 3510, 3509, 3512, 3511, 3513, 3515, 3516, 3517, 3518, 3519, 3520, 3521, 3522, 3525, 3523, 3526, 3527, 3529, 3528, 3531, 3530, 3532, 3533, 3535, 3536, 3537, 3538, 3539, 3550, 3551, 3552, 3553, 3555, 3556, 3557, 3558, 3559, 3560, 3561, 3562, 3563, 3565, 3567, 3566, 3569, 3568, 3571, 3570, 3573, 3572, 3576, 3575, 3577, 3578, 3579, 3580, 3581, 3582, 3585, 3583, 3587, 3586, 3589, 3588, 3590, 3591, 3592, 3593, 3595, 3596, 3597, 3598, 3599, 3600, 3601, 3602, 3603, 3605, 3606, 3607, 3608, 3609, 3610, 3612, 3611, 3613, 3615, 3616, 3617, 3618, 3619, 3620, 3621, 3622, 3623, 3625, 3626, 3627, 3628, 3629, 3630, 3631, 3632, 3633, 3635, 3636, 3637, 3638, 3639, 3650, 3651, 3652, 3653, 3655, 3656, 3657, 3658, 3659, 3660, 3661, 3662, 3665, 3663, 3667, 3666, 3669, 3668, 3670, 3671, 3672, 3673, 3675, 3676, 3677, 3678, 3679, 3680, 3681, 3682, 3683, 3685, 3686, 3687, 3688, 3689, 3690, 3692, 3691, 3693, 3695, 3696, 3697, 3698, 3699, 3700, 3701, 3702, 3703, 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3713, 3712, 3715, 3716, 3718, 3717, 3719, 3721, 3720, 3723, 3722, 3726, 3725, 3727, 3728, 3729, 3730, 3731, 3732, 3733, 3735, 3736, 3737, 3738, 3739, 3750, 3751, 3752, 3753, 3755, 3756, 3758, 3757, 3760, 3759, 3762, 3761, 3766, 3765, 3763, 3769, 3768, 3767, 3771, 3770, 3772, 3773, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3782, 3785, 3783, 3787, 3786, 3789, 3788, 3791, 3790, 3793, 3792, 3796, 3795, 3797, 3798, 3799, 3800, 3801, 3802, 3803, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3815, 3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3825, 3826, 3827, 3828, 3829, 3831, 3830, 3833, 3832, 3837, 3836, 3835, 3838, 3839, 3850, 3851, 3852, 3853, 3855, 3856, 3857, 3859, 3858, 3860, 3861, 3862, 3863, 3866, 3865, 3868, 3867, 3869, 3870, 3871, 3872, 3873, 3875, 3876
                , 3877, 3878, 3880, 3879, 3882, 3881, 3885, 3883, 3886, 3887, 3888, 3889, 3890, 3891, 3893, 3892, 3895, 3896, 3897, 3898, 3899, 3900, 3901, 3903, 3902, 3905, 3907, 3906, 3910, 3909, 3908, 3912, 3911, 3915, 3913, 3918, 3917, 3916, 3921, 3920, 3919, 3922, 3923, 3925, 3926, 3927, 3928, 3929, 3930, 3931, 3932, 3933, 3935, 3936, 3937, 3938, 3939, 3950, 3951, 3952, 3953, 3955, 3956, 3957, 3958, 3959, 3960, 3962, 3961, 3965, 3963, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973, 3975, 3976, 3977, 3978, 3979, 3980, 3981, 3982, 3983, 3985, 3986, 3987, 3988, 3989, 3990, 3991, 3992, 3993, 3995, 3996, 3997, 3998, 5000, 3999, 5001, 5002, 5003, 5005, 5006, 5008, 5007, 5010, 5009, 5012, 5011, 5015, 5013, 5017, 5016, 5019, 5018, 5021, 5020, 5023, 5022, 5026, 5025, 5028, 5027, 5030, 5029, 5033, 5032, 5031, 5037, 5036, 5035, 5038, 5039, 5050, 5051, 5052, 5053, 5055, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, 5065, 5066, 5067, 5068, 5069, 5070, 5071, 5072, 5073, 5075, 5076, 5077, 5078, 5079, 5080, 5081, 5082, 5083, 5085, 5086, 5087, 5088, 5089, 5091, 5090, 5093, 5092, 5096, 5095, 5098, 5097, 5101, 5100, 5099, 5103, 5102, 5106, 5105, 5107, 5108, 5109, 5110, 5111, 5112, 5113, 5115, 5116, 5117, 5118, 5119, 5120, 5121, 5122, 5123, 5125, 5126, 5127, 5129, 5128, 5130, 5131, 5132, 5135, 5133, 5136, 5137, 5138, 5139, 5150, 5151, 5153, 5152, 5155, 5156, 5157, 5158, 5159, 5160, 5161, 5162, 5163, 5165, 5166, 5167, 5169, 5168, 5170, 5171, 5172, 5173, 5175, 5176, 5177, 5178, 5179, 5180, 5181, 5182, 5183, 5185, 5187, 5186, 5188, 5189, 5191, 5190, 5192, 5193, 5195, 5196, 5197, 5198, 5199, 5200, 5201, 5202, 5203, 5205, 5206, 5207, 5208, 5209, 5210, 5211, 5212, 5215, 5213, 5216, 5218, 5217, 5220, 5219, 5222, 5221, 5225, 5223, 5226, 5227, 5228, 5229, 5230, 5231, 5232, 5235, 5233, 5237, 5236, 5239, 5238, 5251, 5250, 5253, 5252, 5256, 5255, 5258, 5257, 5260, 5259, 5263, 5262, 5261, 5266, 5265, 5268, 5267, 5270, 5269, 5271, 5272, 5273, 5275, 5276, 5277, 5278, 5279, 5280, 5281, 5282, 5283, 5285, 5286, 5287, 5288, 5289, 5290, 5291, 5292, 5293, 5295, 5296, 5297, 5298, 5299, 5300, 5301, 5302, 5303, 5305, 5306, 5307, 5308, 5309, 5310, 5311, 5312, 5313, 5315, 5316, 5318, 5317, 5320, 5319, 5322, 5321, 5325, 5323, 5327, 5326, 5329, 5328, 5332, 5331, 5330, 5338, 5337, 5336, 5335, 5333, 5355, 5353, 5352, 5351, 5350, 5339, 5359, 5358, 5357, 5356
        };
        System.out.println(ints.length);
        Arrays.sort(ints);
        for (int i = 0; i < ints.length; i++) {
            System.out.println(ints[i]);
        }
    }
}